package com.dbpms.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("specialityinfo")
public class SpecialityInfo {

    @TableId("speciality_id")
    private int specialityId; // id
    private String specialityName; // 专业名
    private int specialityCollegeId; // 所属学院id

    public int getSpecialityId() {
        return specialityId;
    }

    public void setSpecialityId(int specialityId) {
        this.specialityId = specialityId;
    }

    public String getSpecialityName() {
        return specialityName;
    }

    public void setSpecialityName(String specialityName) {
        this.specialityName = specialityName;
    }

    public int getSpecialityCollegeId() {
        return specialityCollegeId;
    }

    public void setSpecialityCollegeId(int specialityCollegeId) {
        this.specialityCollegeId = specialityCollegeId;
    }

    @Override
    public String toString() {
        return "SpecialityInfo{" +
                "specialityId=" + specialityId +
                ", specialityName='" + specialityName + '\'' +
                ", specialityCollegeId=" + specialityCollegeId +
                '}';
    }
}
